<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    /*function Person () {
        this.name = '张三';
    }
    Person.prototype.name = '张大三';

    var p = new Person();*/


    function Person () {
    }
    Person.prototype.name = '张大三';

    var p = new Person();

    


</script>
</html>